/*
 * AnonymousStatementTest.c
 *
 *  Created on: Oct 3, 2008
 *      Author: V
 */


#include "CuTest.h"
// include the .h of what you're testing
//#include "../semantics/LookupTable.h"

/* remove the space in "Te st"
 * edit, uncomment, and update Makefile
*/

void TestRWappend(CuTest* pCu)
{
	int ret = system("./Stringline tests/RW_appendTest.sl");
	CuAssertTrue(pCu, 0 == ret);
}

void TestRWecho(CuTest* pCu)
{
	int ret = system("./Stringline tests/RW_echoTest.sl");
	CuAssertTrue(pCu, 0 == ret);
}

void TestRWexit(CuTest* pCu)
{
	int ret = system("./Stringline tests/RW_exitTest.sl");
	CuAssertTrue(pCu, 0 == ret);
}

void TestRWfirst(CuTest* pCu)
{
	int ret = system("./Stringline tests/RW_firstTest.sl");
	CuAssertTrue(pCu, 0 == ret);
}

void TestRWinput(CuTest* pCu)
{
	printf("!!Expecting #input:testInput\n");
	int ret = system("echo \"testInput\" | ./Stringline tests/RW_inputTest.sl");
	CuAssertTrue(pCu, 0 == ret);
}

void TestRWisequal(CuTest* pCu)
{
	int ret = system("./Stringline tests/RW_isequalTest.sl");
	CuAssertTrue(pCu, 0 == ret);
}

void TestRWrest(CuTest* pCu)
{
	int ret = system("./Stringline tests/RW_restTest.sl");
	CuAssertTrue(pCu, 0 == ret);
}

